package com.fire.service;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

import com.fire.bo.collage.req.CollageGoodListReq;
import com.fire.bo.collage.req.CollageGoodNumListReq;
import com.fire.bo.collage.req.CollageGoodReq;
import com.fire.bo.collage.req.CollageGoodStatusReq;
import com.fire.bo.collage.req.GofireNameReq;
import com.fire.bo.collage.req.GofireProductReq;
import com.fire.bo.collage.req.GofireReq;
import com.fire.bo.collage.res.CollageGoodListRes;
import com.fire.bo.collage.res.CollageGoodNumListRes;
import com.fire.bo.collage.res.GofireProductRes;
import com.fire.bo.collage.res.GofireRes;
import com.fire.bo.coupon.req.DelCouponReq;

public interface CollageGoodService {
	/**
	 * 新增拼单数量
	 * 
	 * @Description:
	 * @param bean
	 * @throws SQLException
	 * @version:v1.0
	 * @author:wangsu
	 * @date:2018年8月6日 上午9:46:11
	 */
	void addCollageGoodNum(CollageGoodReq bean) throws SQLException;

	/**
	 * 审核
	 */
	void updateCollageGoodStatus(CollageGoodStatusReq bean) throws SQLException;
	
	/**
	 * 拼单列表
	 */
	List<CollageGoodListRes> findGoodList(CollageGoodListReq bean) throws SQLException;
	
	int findGoodListCount(CollageGoodListReq bean) throws SQLException;
	/**
	 * 拼单审核列表
	 */
	List<CollageGoodNumListRes> findGoodNumList(CollageGoodNumListReq bean) throws SQLException;
	
	int gofireProjectListCount(GofireProductReq bean) throws SQLException;
	/**
	 * 新增商品
	 */
	void addGofireProject(GofireProductRes bean) throws SQLException;
	
	/**
	 * 修改商品
	 */
	void updateGofireProject(GofireProductRes bean) throws SQLException;
	
	/**
	 * 列表商品
	 */
	List<GofireProductRes> gofireProjectList(GofireProductReq bean) throws SQLException;
	
	/**
	 * 单个商品
	 */
	GofireProductRes gofireProjectById(DelCouponReq bean) throws SQLException;
	
	/**
	 * 删除商品
	 */
	void delgofireProject(DelCouponReq bean) throws SQLException;
	
	int collageCount(Map<String, Object> map) throws SQLException;
	
	/**
	 * 新增用户拼单
	 */
	void addGoFire(GofireReq info) throws SQLException;
	
	/**
	 * 修改用户拼单
	 */
	void updateGoFire(GofireRes info) throws SQLException;
	
	/**
	 * 列表查询
	 */
	List<GofireRes> findAllFireRes(GofireNameReq info) throws SQLException;
	int findAllFireResCount(GofireNameReq info) throws SQLException;
	
	/**
	 * 查询单个
	 */
	GofireRes findFireResInfo(DelCouponReq info) throws SQLException;
	
}
